package cn.demoncat.util.ocr.huawei.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 华为密钥
 *
 * @author 延晓磊
 * @since 2020年10月23日
 */
@Component
@ConfigurationProperties(prefix="ocr.hw")
public class HwOcrProperties {

    // AK - Access Key Id
    private String accessKey;
    // SK - Secret Access Key
    private String accessPassword;
    // 区域 - region
    private String region;

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getAccessPassword() {
        return accessPassword;
    }

    public void setAccessPassword(String accessPassword) {
        this.accessPassword = accessPassword;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }
}
